package hcn.mch.response;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * @program: Myproject
 * @description: 查询检查记录列表
 * @author: zangsf
 * @create: 2022-07-18 16:19
 **/
@XmlRootElement(name = "BSXml")
public class GetGravidityFromMcsBean {
    private  MsgHeader msgHeader;
    private  MsgBody msgBody;

    @XmlElement(name = "MsgHeader")
    public  MsgHeader getMsgHeader() {
        return msgHeader;
    }

    public void setMsgHeader( MsgHeader msgHeader) {
        this.msgHeader = msgHeader;
    }

    @XmlElement(name = "MsgBody")
    public  MsgBody getMsgBody() {
        return msgBody;
    }

    public void setMsgBody( MsgBody msgBody) {
        this.msgBody = msgBody;
    }

    public static class MsgHeader{
        private String organization;
        private String sender;
        private String serviceType;
        private String msgType;
        private String msgVersion = "2.0";

        @XmlElement(name = "Organization")
        public String getOrganization() {
            return organization;
        }

        public void setOrganization(String organization) {
            this.organization = organization;
        }

        @XmlElement(name = "Sender")
        public String getSender() {
            return sender;
        }

        public void setSender(String sender) {
            this.sender = sender;
        }

        @XmlElement(name = "ServiceType")
        public String getServiceType() {
            return serviceType;
        }

        public void setServiceType(String serviceType) {
            this.serviceType = serviceType;
        }

        @XmlElement(name = "MsgType")
        public String getMsgType() {
            return msgType;
        }

        public void setMsgType(String msgType) {
            this.msgType = msgType;
        }

        @XmlElement(name = "MsgVersion")
        public String getMsgVersion() {
            return msgVersion;
        }

        public void setMsgVersion(String msgVersion) {
            this.msgVersion = msgVersion;
        }
    }

    public static class MsgBody {
        private String status;
        private String code;
        private String detail;
        private GetGravidityFromMcsVO data;

        @XmlElement(name = "Status")
        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        @XmlElement(name = "Code")
        public String getCode() {
            return code;
        }

        public void setCode(String code) {
            this.code = code;
        }

        @XmlElement(name = "Detail")
        public String getDetail() {
            return detail;
        }

        public void setDetail(String detail) {
            this.detail = detail;
        }

        @XmlElement(name = "Data")
        public GetGravidityFromMcsVO getData() {
            return data;
        }

        public void setData(GetGravidityFromMcsVO data) {
            this.data = data;
        }
    }
}
